<template>
    <div id="en">
        <h3>小黑水果店</h3>
        <ul>
            <li v-for="(item,index) in list">
                {{index}}-------{{item}}
            </li>
        </ul>

    </div>
</template>

<script>
    export default {
        name: "11-vue-v-for",
        data() {
            return {
                list: ['西瓜', '苹果', '鸭梨', '榴莲']
            }
        },
        methods: {

        }
    }
</script>

<style scoped>

</style>